with open('_data_yule_disk2_DEM.txt') as f:
    lines = f.readlines()

lines.sort()

with open('_data_yule_disk2_DEM.sort.txt', 'w') as f:
    f.writelines(lines)
